import { axios } from '@/utils/request'

/**
 * 分页查询
 */
export function fetchList (params) {
  return axios({
    url: '/userTask/findApplyingTasks',
    method: 'get',
    params: params
  })
}

/**
 * 查看列表
 */
export function findComments (id) {
  return axios({
    url: '/userTask/findComments/' + id,
    method: 'get'
  })
}
